home *** CD-ROM | disk | FTP | other *** search
-
-
-
- eeeessssppppqqqquuuueeeerrrryyyy((((1111)))) eeeessssppppqqqquuuueeeerrrryyyy((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- espquery - Database query for Embedded Support Partner
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- eeeessssppppqqqquuuueeeerrrryyyy [----tttthhhh] [----uuuu username] [----pppp password] [----nnnn hostname] ----ssss sqlstring dbname
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _e_s_p_q_u_e_r_y is a command that is designed to perform limited set of
- operations on the database in the Embedded Support Partner The command is
- provided mostly for use by tools that are script in nature, yet need an
- interface to the SSDB. The tools would have to have intimate knowledge of
- the schema in the SSDB and the rights to access the database. The
- operations on the on the SSDB are limited to:
-
- SSSSEEEELLLLEEEECCCCTTTT
- DDDDEEEESSSSCCCCRRRRIIIIBBBBEEEE
- SSSSHHHHOOOOWWWW
-
- The _d_b_n_a_m_e is a mandatory argument and must be at the end after the
- option list.
-
- The _e_s_p_q_u_e_r_y command has the following options:
-
- ----tttt Option to disable the printing of headers. With this option,
- data is displayed without any header information.
-
- ----hhhh Help command. This option will print out the usage for the
- command.
-
- ----uuuu _u_s_e_r_n_a_m_e The username for accessing the data in the SSDB. The SSDB
- will have set users that have privileges to access the data.
- This option is mandatory.
-
- ----pppp _p_a_s_s_w_o_r_d The password for the account to access data in the SSDB.
-
- ----nnnn _h_o_s_t_n_a_m_e Option to connect to a different host that is running the
- SSDB. By default the hostname is set to localhost. This
- option is mandatory.
-
- ----ssss _s_q_l_s_t_r_i_n_g The SQL query that is to be performed on the database. The
- sqlstring must be enclosed in double quotes ("").
-
- eeeessssppppqqqquuuueeeerrrryyyy ----uuuu sss ----pppp sss ----ssss "select * from event" ssdatabase
-
- The above command connects to the database called ssdatabase on the local
- system using the account sss password sss. A select of all records from
- the table called event is performed.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE 2222
- eeeessssppppqqqquuuueeeerrrryyyy ----nnnn neetu.csd.sgi.com ----uuuu sss ----pppp sss ----ssss "select * from event"
- ssdatabase
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- eeeessssppppqqqquuuueeeerrrryyyy((((1111)))) eeeessssppppqqqquuuueeeerrrryyyy((((1111))))
-
-
-
- The above connects to the database called ssdatabase on the host called
- neetu.csd.sgi.com using the account sss password sss. A select of all
- records from the table called event is performed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-